package com.example.tool.erp.sdk.api.process.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class BomSearchResponse
{
	@SerializedName("total_count") private Integer total;
	@SerializedName("order_list") private List<Order> orderList;

	public static class Order
	{
		@SerializedName("bom_id") private Integer bomId;
		@SerializedName("operator_name") private String operatorName;
		@SerializedName("operator_id") private Integer operatorId;
		@SerializedName("created") private String created;
		@SerializedName("fee") private BigDecimal fee;
		@SerializedName("is_disabled") private Boolean disabled;
		@SerializedName("material_list") private List<Material> materialList;
		@SerializedName("modified") private String modified;
		@SerializedName("bom_no") private String bomNo;
		@SerializedName("remark") private String remark;
		@SerializedName("product_list") private List<Product> productList;
		@SerializedName("bom_name") private String bomName;

		public static class Material
		{
			@SerializedName("is_product") private Boolean product;
			@SerializedName("goods_name") private String goodsName;
			@SerializedName("spec_code") private String specCode;
			@SerializedName("is_master") private Boolean master;
			@SerializedName("cost") private BigDecimal cost;
			@SerializedName("num") private BigDecimal num;
			@SerializedName("goods_no") private String goodsNo;
			@SerializedName("remark") private String remark;
			@SerializedName("spec_no") private String specNo;
			@SerializedName("sn_type") private Integer snType;
			@SerializedName("all_cost") private BigDecimal allCost;
			@SerializedName("retail_price") private BigDecimal retailPrice;
			@SerializedName("bom_id") private Integer bomId;
			@SerializedName("spec_name") private String specName;
			@SerializedName("barcode") private String barcode;
			@SerializedName("bom_detail_id") private Integer bomDetailId;

			public Boolean getProduct()
			{
				return product;
			}

			public void setProduct(Boolean product)
			{
				this.product = product;
			}

			public String getGoodsName()
			{
				return goodsName;
			}

			public void setGoodsName(String goodsName)
			{
				this.goodsName = goodsName;
			}

			public String getSpecCode()
			{
				return specCode;
			}

			public void setSpecCode(String specCode)
			{
				this.specCode = specCode;
			}

			public Boolean getMaster()
			{
				return master;
			}

			public void setMaster(Boolean master)
			{
				this.master = master;
			}

			public BigDecimal getCost()
			{
				return cost;
			}

			public void setCost(BigDecimal cost)
			{
				this.cost = cost;
			}

			public BigDecimal getNum()
			{
				return num;
			}

			public void setNum(BigDecimal num)
			{
				this.num = num;
			}

			public String getGoodsNo()
			{
				return goodsNo;
			}

			public void setGoodsNo(String goodsNo)
			{
				this.goodsNo = goodsNo;
			}

			public String getRemark()
			{
				return remark;
			}

			public void setRemark(String remark)
			{
				this.remark = remark;
			}

			public String getSpecNo()
			{
				return specNo;
			}

			public void setSpecNo(String specNo)
			{
				this.specNo = specNo;
			}

			public Integer getSnType()
			{
				return snType;
			}

			public void setSnType(Integer snType)
			{
				this.snType = snType;
			}

			public BigDecimal getAllCost()
			{
				return allCost;
			}

			public void setAllCost(BigDecimal allCost)
			{
				this.allCost = allCost;
			}

			public BigDecimal getRetailPrice()
			{
				return retailPrice;
			}

			public void setRetailPrice(BigDecimal retailPrice)
			{
				this.retailPrice = retailPrice;
			}

			public Integer getBomId()
			{
				return bomId;
			}

			public void setBomId(Integer bomId)
			{
				this.bomId = bomId;
			}

			public String getSpecName()
			{
				return specName;
			}

			public void setSpecName(String specName)
			{
				this.specName = specName;
			}

			public String getBarcode()
			{
				return barcode;
			}

			public void setBarcode(String barcode)
			{
				this.barcode = barcode;
			}

			public Integer getBomDetailId()
			{
				return bomDetailId;
			}

			public void setBomDetailId(Integer bomDetailId)
			{
				this.bomDetailId = bomDetailId;
			}
		}

		public static class Product
		{
			@SerializedName("is_product") private Boolean product;
			@SerializedName("goods_name") private String goodsName;
			@SerializedName("spec_code") private String specCode;
			@SerializedName("is_master") private Boolean master;
			@SerializedName("cost") private BigDecimal cost;
			@SerializedName("num") private BigDecimal num;
			@SerializedName("goods_no") private String goodsNo;
			@SerializedName("remark") private String remark;
			@SerializedName("spec_no") private String specNo;
			@SerializedName("sn_type") private Integer snType;
			@SerializedName("all_cost") private BigDecimal allCost;
			@SerializedName("retail_price") private BigDecimal retailPrice;
			@SerializedName("bom_id") private Integer bomId;
			@SerializedName("spec_name") private String specName;
			@SerializedName("barcode") private String barcode;
			@SerializedName("bom_detail_id") private Integer bomDetailId;

			public Boolean getProduct()
			{
				return product;
			}

			public void setProduct(Boolean product)
			{
				this.product = product;
			}

			public String getGoodsName()
			{
				return goodsName;
			}

			public void setGoodsName(String goodsName)
			{
				this.goodsName = goodsName;
			}

			public String getSpecCode()
			{
				return specCode;
			}

			public void setSpecCode(String specCode)
			{
				this.specCode = specCode;
			}

			public Boolean getMaster()
			{
				return master;
			}

			public void setMaster(Boolean master)
			{
				this.master = master;
			}

			public BigDecimal getCost()
			{
				return cost;
			}

			public void setCost(BigDecimal cost)
			{
				this.cost = cost;
			}

			public BigDecimal getNum()
			{
				return num;
			}

			public void setNum(BigDecimal num)
			{
				this.num = num;
			}

			public String getGoodsNo()
			{
				return goodsNo;
			}

			public void setGoodsNo(String goodsNo)
			{
				this.goodsNo = goodsNo;
			}

			public String getRemark()
			{
				return remark;
			}

			public void setRemark(String remark)
			{
				this.remark = remark;
			}

			public String getSpecNo()
			{
				return specNo;
			}

			public void setSpecNo(String specNo)
			{
				this.specNo = specNo;
			}

			public Integer getSnType()
			{
				return snType;
			}

			public void setSnType(Integer snType)
			{
				this.snType = snType;
			}

			public BigDecimal getAllCost()
			{
				return allCost;
			}

			public void setAllCost(BigDecimal allCost)
			{
				this.allCost = allCost;
			}

			public BigDecimal getRetailPrice()
			{
				return retailPrice;
			}

			public void setRetailPrice(BigDecimal retailPrice)
			{
				this.retailPrice = retailPrice;
			}

			public Integer getBomId()
			{
				return bomId;
			}

			public void setBomId(Integer bomId)
			{
				this.bomId = bomId;
			}

			public String getSpecName()
			{
				return specName;
			}

			public void setSpecName(String specName)
			{
				this.specName = specName;
			}

			public String getBarcode()
			{
				return barcode;
			}

			public void setBarcode(String barcode)
			{
				this.barcode = barcode;
			}

			public Integer getBomDetailId()
			{
				return bomDetailId;
			}

			public void setBomDetailId(Integer bomDetailId)
			{
				this.bomDetailId = bomDetailId;
			}
		}

		public Integer getBomId()
		{
			return bomId;
		}

		public void setBomId(Integer bomId)
		{
			this.bomId = bomId;
		}

		public String getOperatorName()
		{
			return operatorName;
		}

		public void setOperatorName(String operatorName)
		{
			this.operatorName = operatorName;
		}

		public Integer getOperatorId()
		{
			return operatorId;
		}

		public void setOperatorId(Integer operatorId)
		{
			this.operatorId = operatorId;
		}

		public String getCreated()
		{
			return created;
		}

		public void setCreated(String created)
		{
			this.created = created;
		}

		public BigDecimal getFee()
		{
			return fee;
		}

		public void setFee(BigDecimal fee)
		{
			this.fee = fee;
		}

		public Boolean getDisabled()
		{
			return disabled;
		}

		public void setDisabled(Boolean disabled)
		{
			this.disabled = disabled;
		}

		public List<Material> getMaterialList()
		{
			return materialList;
		}

		public void setMaterialList(List<Material> materialList)
		{
			this.materialList = materialList;
		}

		public String getModified()
		{
			return modified;
		}

		public void setModified(String modified)
		{
			this.modified = modified;
		}

		public String getBomNo()
		{
			return bomNo;
		}

		public void setBomNo(String bomNo)
		{
			this.bomNo = bomNo;
		}

		public String getRemark()
		{
			return remark;
		}

		public void setRemark(String remark)
		{
			this.remark = remark;
		}

		public List<Product> getProductList()
		{
			return productList;
		}

		public void setProductList(List<Product> productList)
		{
			this.productList = productList;
		}

		public String getBomName()
		{
			return bomName;
		}

		public void setBomName(String bomName)
		{
			this.bomName = bomName;
		}
	}

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}

	public List<Order> getOrderList()
	{
		return orderList;
	}

	public void setOrderList(List<Order> orderList)
	{
		this.orderList = orderList;
	}

}
